<?php

namespace Tests\Feature\Admin;

use App\Models\System\Admin;
use Laravel\Sanctum\Sanctum;

class AdminBaseLoginControllerCase extends AdminBaseControllerCase
{
    protected Admin $user;

    protected function setUp(): void
    {
        parent::setUp();

        /** @var Admin $row */
        $row = Admin::query()->where('id', 1)->first();

        $this->user = $row;

        $this->actingAs($row);
        Sanctum::actingAs($row);
    }
}
